﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PosClient.Model
{
    [Index("uk_job_id", "JobCode,JobClass", true)]
    [Table(Name = "t_job")]
    public class JobEntity
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }
        public string JobCode { get; set; }
        public string JobName { get; set; }
        public string JobBody { get; set; }
        public int JobRound { get; set; }
        public string JobClass { get; set; }
        public string JobCron { get; set; }

        public int JobStatus { get; set; }
        public int Deleted { get; set; }

    }
}
